import java.io.FileReader;
import java.io.FileWriter;

/**
 * @ClassName: Write
 * @Description: TODO
 * @Author: isunimp
 * @Date: 2018/7/31
 */
public class Write {

    static public void main(String[] args) {
        try {
            FileWriter fileWriter = new FileWriter("/Users/isunimp/a.txt");
            fileWriter.write("test");
            fileWriter.append("c");
            fileWriter.flush();
            System.out.println("");
            fileWriter.close();


            FileReader fileReader = new FileReader("");
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
